import {createBrowserRouter} from 'react-router-dom'
import routes from './routes';
//路由对象
const router = createBrowserRouter(routes);

export default router